home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / man / cat.1 / pgmnorm.1 < prev    next >
Text File  |  1995-07-25  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      ppppggggmmmmnnnnoooorrrrmmmm((((1111))))      XXXXEEEENNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((22228888 FFFFeeeebbbbrrrruuuuaaaarrrryyyy 1111999988889999))))      ppppggggmmmmnnnnoooorrrrmmmm((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           pgmnorm - normalize the contrast in a portable graymap
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ppppggggmmmmnnnnoooorrrrmmmm [----bbbbppppeeeerrrrcccceeeennnntttt _N | ----bbbbvvvvaaaalllluuuueeee _N] [----wwwwppppeeeerrrrcccceeeennnntttt _N | ----wwwwvvvvaaaalllluuuueeee _N]
  13.           [_p_g_m_f_i_l_e]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           Reads a portable graymap as input.  Normalizes the contrast
  17.           by forcing the lightest pixels to white, the darkest pixels
  18.           to black, and linearly rescaling the ones in between; and
  19.           produces a portable graymap as output.
  20.  
  21.      OOOOPPPPTTTTIIIIOOOONNNNSSSS
  22.           By default, the darkest 2 percent of all pixels are mapped
  23.           to black, and the lightest 1 percent are mapped to white.
  24.           You can override these percentages by using the ----bbbbppppeeeerrrrcccceeeennnntttt
  25.           and ----wwwwppppeeeerrrrcccceeeennnntttt flags, or you can specify the exact pixel
  26.           values to be mapped by using the ----bbbbvvvvaaaalllluuuueeee and ----wwwwvvvvaaaalllluuuueeee flags.
  27.           Appropriate numbers for the flags can be gotten from the
  28.           _p_g_m_h_i_s_t tool.  If you just want to enhance the contrast,
  29.           then choose values at elbows in the histogram; e.g. if value
  30.           29 represents 3% of the image but value 30 represents 20%,
  31.           choose 30 for _b_v_a_l_u_e.  If you want to lighten the image,
  32.           then set _b_v_a_l_u_e to 0 and just fiddle with _w_v_a_l_u_e; similarly,
  33.           to darken the image, set _w_v_a_l_u_e to maxval and play with
  34.           _b_v_a_l_u_e.
  35.  
  36.           All flags can be abbreviated to their shortest unique
  37.           prefix.
  38.  
  39.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  40.           pgmhist(1), pgm(5)
  41.  
  42.      AAAAUUUUTTTTHHHHOOOORRRR
  43.           Partially based on the fbnorm filter in Michael Mauldin's
  44.           "Fuzzy Pixmap" package.
  45.  
  46.           Copyright (C) 1989 by Jef Poskanzer.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                           (printed 9/7/93)
  64.  
  65.  
  66.  
  67.